<?
require_once('functions.php');

function GetPrice($id)
{
	    $conn = GetConnection();
        $sql = "SELECT * FROM Item WHERE Customers_id=$id";
        $results = $conn->query($sql);
        //echo $sql;
        $pay = $results['Price'];
        $conn->close();
        return $pay;
}